package dht.message;

import java.io.Serializable;
import java.net.InetAddress;

import dht.data.TabBigInteger;

public class QuitMessage extends Message implements Serializable {

	private static final long serialVersionUID = -6080937868240303252L;

	public QuitMessage(InetAddress adresseIpClient, String virtualId,
			           TabBigInteger destination) {
		super(adresseIpClient, virtualId, destination);
		this.TYPE_MSG=QUIT_Message;
	}
	
	public QuitMessage QuitReply(InetAddress adresseIpClient, String virtualId,
	           TabBigInteger destination, InetAddress origine) {
			QuitMessage q= new QuitMessage(adresseIpClient, virtualId, destination);
			q.TYPE_MSG=QUIT_Message;
			return q;
	}
}
